package com.jgp.sys.query.jpa;

import com.jgp.common.persistence.Model;

import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;

/**
 * 项目   jgp-cloud-parent
 * 作者   loufei
 * 时间   2019-12-20
 */
public interface ClientFilter {
    String getClientId(Class javaType);
    Predicate doPredicate(Root<? extends Model> root, CriteriaBuilder builder);
}
